package cn.maxhou.service;

import cn.maxhou.entity.Auction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuctionService {
    List<Auction> getAuctionList();
    List<Auction> searchAuctionList(Auction auction);
    int deleteAuction(int auctionId);
    int insertAuction(@Param("entity")Auction auction);
    Auction getAuctionById(int auctionId);
}
